package com.poitest.mapper;

import com.poitest.pojo.TTitle;
import com.poitest.pojo.TTitleExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface TTitleMapper {
    int countByExample(TTitleExample example);

    int deleteByExample(TTitleExample example);

    int deleteByPrimaryKey(Integer rid);

    int insert(TTitle record);

    int insertSelective(TTitle record);

    List<TTitle> selectByExample(TTitleExample example);

    TTitle selectByPrimaryKey(Integer rid);

    int updateByExampleSelective(@Param("record") TTitle record, @Param("example") TTitleExample example);

    int updateByExample(@Param("record") TTitle record, @Param("example") TTitleExample example);

    int updateByPrimaryKeySelective(TTitle record);

    int updateByPrimaryKey(TTitle record);
}